package com.zhentao.model.common.pojo.income;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhentao.model.common.pojo.users.Users;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author mp
 * @since 2024-12-25
 */
@Getter
@Setter
@TableName("cdz_invite_record")
public class CdzInviteRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 邀请人
     */
    private Long inviteUserId;

    /**
     * 备注
     */
    private String notes;

    /**
     * 被邀请人
     */
    private Long invitedUserId;

    /**
     * 邀请时间
     */
    private Date invitedTime;

    //邀请人信息
    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
